POV-Ray : Newsgroups : povray.general : image map inside a cylinder? : Re: image map inside a cylinder? Server Time
5 Nov 2024 11:19:39 EST (-0500)
  Re: image map inside a cylinder?  
From: Warp
Date: 27 Apr 2003 06:10:26
Message: <3eabac92@news.povray.org>
Marc Jacquier <jac### [at] wanadoofr> wrote:
> You could try splitting your ring in  inside and outside parts unsing a
> difference and an intersection with a cylinder, then apply the normal_map
> only on the inside part.

  That's not necessary. It's enough to apply the texture containing the
text to the cylinder and the other texture to the torus. (The texture in
the cylinder may need inverting (scale <-1,1,-1> or whatever) because
it will be in the inner surface of the cylinder.)

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.